package com.lqian.pojo;

import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Ա����
 * @author Administrator
 *
 */

public class Employee {

		//Ա��ID
		private Integer eid;
		//Ա����¼�˺�:Ĭ��Ա�����ţ�6λ��
		private String ename;
		//Ա����¼����
		private String epass;
		//��ʵ����
		private String realname;
		//0:�У�1��Ů��
		private Integer esex;
		//��ְʱ�䣬��Ϊ��
		private Date entrydate;
		//��ְʱ�䣬��Ϊ��
		private Date leavedate;
		//ְλ��0���ܲ�/boss��1������2����ͨԱ��
		private Integer position;
		//	��н
		private Integer sal;
		//Ա��״̬��0����ְ��1����ְ
		private Integer estatus;
		//�������ţ����
		private Integer did;
		
		//��������
		private String dname;
		
		
		
		public String getDname() {
			return dname;
		}
		public void setDname(String dname) {
			this.dname = dname;
		}
		public Integer getEid() {
			return eid;
		}
		public void setEid(Integer eid) {
			this.eid = eid;
		}
		public String getEname() {
			return ename;
		}
		public void setEname(String ename) {
			this.ename = ename;
		}
		public String getEpass() {
			return epass;
		}
		public void setEpass(String epass) {
			this.epass = epass;
		}
		public String getRealname() {
			return realname;
		}
		public void setRealname(String realname) {
			this.realname = realname;
		}
		public Integer getEsex() {
			return esex;
		}
		public void setEsex(Integer esex) {
			this.esex = esex;
		}
		public Date getEntrydate() {
			return entrydate;
		}
		public void setEntrydate(Date entrydate) {
			this.entrydate = entrydate;
		}
		public Date getLeavedate() {
			return leavedate;
		}
		public void setLeavedate(Date leavedate) {
			this.leavedate = leavedate;
		}
		public Integer getPosition() {
			return position;
		}
		public void setPosition(Integer position) {
			this.position = position;
		}
		public Integer getSal() {
			return sal;
		}
		public void setSal(Integer sal) {
			this.sal = sal;
		}
		public Integer getEstatus() {
			return estatus;
		}
		public void setEstatus(Integer estatus) {
			this.estatus = estatus;
		}
		public Integer getDid() {
			return did;
		}
		public void setDid(Integer did) {
			this.did = did;
		}
		public Employee(Integer eid, String ename, String epass, String realname, Integer esex, Date entrydate,
				Date leavedate, Integer position, Integer sal, Integer estatus, Integer did, String dname) {
			super();
			this.eid = eid;
			this.ename = ename;
			this.epass = epass;
			this.realname = realname;
			this.esex = esex;
			this.entrydate = entrydate;
			this.leavedate = leavedate;
			this.position = position;
			this.sal = sal;
			this.estatus = estatus;
			this.did = did;
			this.dname = dname;
		}
		public Employee() {
			super();
		}
		@Override
		public String toString() {
			return "Employee [eid=" + eid + ", ename=" + ename + ", epass=" + epass + ", realname=" + realname
					+ ", esex=" + esex + ", entrydate=" + entrydate + ", leavedate=" + leavedate + ", position="
					+ position + ", sal=" + sal + ", estatus=" + estatus + ", did=" + did + ", dname=" + dname + "]";
		}
		
		
		
		
	
}
